package com.cc.mapper;

import com.cc.entity.EbProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProduMapper {
    List<EbProduct> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);

    int total();

    EbProduct selectByCondition(int epid);
    int updateByPrimaryKey(EbProduct ebProduct);

    int save(EbProduct ebProduct);

    int delete(int epid);

    List<EbProduct> selectAll();

    EbProduct detail(int epid);

}
